<template>
  <div>
    <div id="container">
      <a
        href="javascript:;"
        v-if="showNum == 1"
        class="RED light-text"
        :style="{ fontSize: fontSize }"
      >
        {{ redText }}
      </a>
      <a
        href="javascript:;"
        v-if="showNum == 2"
        class="BLUE light-text"
        :style="{ fontSize: fontSize }"
      >
        {{ blueText }}
      </a>
      <a
        href="javascript:;"
        v-if="showNum == 3"
        class="Yellow light-text"
        :style="{ fontSize: fontSize }"
      >
        {{ yellowText }}
      </a>
      <a
        href="javascript:;"
        v-if="showNum == 4"
        class="GREEN light-text"
        :style="{ fontSize: fontSize }"
      >
        {{ greenText }}
      </a>
      <a
        href="javascript:;"
        v-if="showNum == 5"
        class="ORANGE light-text"
        :style="{ fontSize: fontSize }"
      >
        {{ orangeText }}
      </a>
      <a
        href="javascript:;"
        v-if="showNum == 6"
        class="VIOLET light-text"
        :style="{ fontSize: fontSize }"
      >
        {{ violetText }}
      </a>
    </div>
  </div>
</template>
<script>
export default {
  props: {
    showNum: {
      default: 1,
    },
    redText: {
      default: 1,
    },
    blueText: {
      default: 1,
    },

    yellowText: {
      default: 1,
    },
    greenText: {
      default: 1,
    },
    orangeText: {
      default: 1,
    },
    violetText: {
      default: 1,
    },
    fontSize: {
      default: "7em",
    },
  },
  data() {
    return {};
  },

  methods: {},
};
</script  scoped>
<style>
@import url("https://fonts.font.im/css?family=Audiowide|Iceland|Monoton|Pacifico|Press+Start+2P|Vampiro+One");

#container {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/*Neon*/
.light-text {
  text-align: center;
  margin-bottom: 200px;
  margin-top: 0;
  line-height: 1;
  text-decoration: none;
  color: #fff;
}

.RED {
  font-family: Monoton;
  animation: neon1 1.5s ease-in-out infinite alternate;
}

.BLUE {
  font-family: Iceland;
  animation: neon2 1.5s ease-in-out infinite alternate;
}

.Yellow {
  font-family: Pacifico;
  animation: neon3 1.5s ease-in-out infinite alternate;
}

.GREEN {
  font-family: "Press Start 2P";
  animation: neon4 1.5s ease-in-out infinite alternate;
}

.ORANGE {
  font-family: Audiowide;
  animation: neon5 1.5s ease-in-out infinite alternate;
}

.VIOLET {
  font-family: Vampiro One;
  animation: neon6 1.5s ease-in-out infinite alternate;
}

/*glow*/

@keyframes neon1 {
  from {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #ff1177,
      0 0 70px #ff1177, 0 0 80px #ff1177, 0 0 100px #ff1177, 0 0 150px #ff1177;
  }
  to {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #ff1177,
      0 0 35px #ff1177, 0 0 40px #ff1177, 0 0 50px #ff1177, 0 0 75px #ff1177;
  }
}

@keyframes neon2 {
  from {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #228dff,
      0 0 70px #228dff, 0 0 80px #228dff, 0 0 100px #228dff, 0 0 150px #228dff;
  }
  to {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #228dff,
      0 0 35px #228dff, 0 0 40px #228dff, 0 0 50px #228dff, 0 0 75px #228dff;
  }
}

@keyframes neon3 {
  from {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #ffdd1b,
      0 0 70px #ffdd1b, 0 0 80px #ffdd1b, 0 0 100px #ffdd1b, 0 0 150px #ffdd1b;
  }
  to {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #ffdd1b,
      0 0 35px #ffdd1b, 0 0 40px #ffdd1b, 0 0 50px #ffdd1b, 0 0 75px #ffdd1b;
  }
}

@keyframes neon4 {
  from {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #b6ff00,
      0 0 70px #b6ff00, 0 0 80px #b6ff00, 0 0 100px #b6ff00, 0 0 150px #b6ff00;
  }
  to {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #b6ff00,
      0 0 35px #b6ff00, 0 0 40px #b6ff00, 0 0 50px #b6ff00, 0 0 75px #b6ff00;
  }
}

@keyframes neon5 {
  from {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #ff9900,
      0 0 70px #ff9900, 0 0 80px #ff9900, 0 0 100px #ff9900, 0 0 150px #ff9900;
  }
  to {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #ff9900,
      0 0 35px #ff9900, 0 0 40px #ff9900, 0 0 50px #ff9900, 0 0 75px #ff9900;
  }
}

@keyframes neon6 {
  from {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #ff00de,
      0 0 70px #ff00de, 0 0 80px #ff00de, 0 0 100px #ff00de, 0 0 150px #ff00de;
  }
  to {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #ff00de,
      0 0 35px #ff00de, 0 0 40px #ff00de, 0 0 50px #ff00de, 0 0 75px #ff00de;
  }
}
/*Make stuff responsive*/

@media (max-width: 650px) {
  p {
    font-size: 3.5em;
  }
}
</style>
